package com.drivers.model.user;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

@Data
@ToString
public class User {

    //司机用户ID
    private Integer Id;
    //司机用户名称
    private String driverName;
    //司机用户头像
    private String driverImgurl;
    //司机用户手机号
    private String driverPhone;
    //司机用户资产
    private String driverTotalAssets;
    //司机当月收入
    private String driverMonthIncome;
    //司机评分
    private Integer driverPoint;
    //用户密码
    private String password;
    //当月提现金额
    private Integer currentMonth;
    //司机用户邮箱
    private String email;

    //司机性别
    private Integer sex;

    //司机用户生日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    //司机年龄
    private Integer age;
}
